package com.amoyhong.hongWhether.events;


import com.amoyhong.hongWhether.model.WeatherData;

/**
 * Created by Administrator on 2016/1/9.
 */
public class WeatherResponseEvent {

    public static final int NO_LOCATION_DATA_ERROR = 70;

    public WeatherData weatherData;
    public boolean success;
    public String message;
    public int errorCode;

    public WeatherResponseEvent(WeatherData weatherData, boolean success, String message) {
        this.message = message;
        this.success = success;
        this.weatherData = weatherData;
    }

    public WeatherResponseEvent(WeatherData weatherData, boolean success, String message, int errorCode) {
        this.errorCode = errorCode;
        this.message = message;
        this.success = success;
        this.weatherData = weatherData;
    }
}
